<%--
  Created by IntelliJ IDEA.
  User: 王丹
  Date: 2018/9/10
  Time: 17:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>登陆</title>
</head>
<body>

    <c:if test="${!empty error}">
        <font color="red"><c:out value="${error}"/></font>
    </c:if>

    <form action="<c:url value="/result"/>" method="post">
        用户名:
        <input name="userName"><br/>
        密码：
        <input type="password" name="passWord"><br/>
        <input type="submit" value="登陆"/>
        <input type="reset" value="重置"/>
    </form>

</body>
</html>
